var mongoose = require('mongoose'),
  Schema = mongoose.Schema

var UserSchema = new Schema({
  userName: {
    type: String
  },
  userPwd: {
    type: String
  },
  userAge: {
    type: Number
  },
  creatDate: {
    type: Date,
    default: new Date().getTime()
  }
})
mongoose.model('user', UserSchema);